package com.example.client2.web;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

@RequestMapping("/person")
@RestController
public class PersonController {

    @RequestMapping("/list")
    public Map getPersion(){
        Map map = new HashMap();
        map.put("zhaowu",12);
        map.put("wangliu","16");
        return map;
    }

}
